function trail( ply, cmd, args )
	myself = ply
	if args[1] = nil then
		args[1] = myself
	end
	local ptrail = args[1]
	if !ptrail:IsPlayer() then return end;
	if ptrail:IsPlayer() then
		util.SpriteTrail(ptrail, 0, Color(255,0,0), false, 15, 1, 4, 1/(15+1)*0.5, "trails/plasma.vmt")
		print("adding a trail to" .. ptrail)
	end
end

concommand.Add( "trails", trail)
